package com.smec.moblie.location;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

/***
 * 开机启动service
 *
 * @author xinwei.sun
 *
 */
public class StartService extends Service {
	public static final String ACTION = "com.smec.remes.mobile.centre.test.StartService";

	@Override
	public IBinder onBind(Intent arg0) {
		return null;
	}

	@Override
	public void onCreate() {
		super.onCreate();
	}

	@Override
	@Deprecated
	public void onStart(Intent intent, int startId) {
		super.onStart(intent, startId);
		PollingUtils.startPollingService(this, 60, SmecMntMapService.class, SmecMntMapService.ACTION);
	}

	@Override
	public int onStartCommand(Intent intent, int flags, int startId) {
		return super.onStartCommand(intent, flags, startId);
	}

}
